-- GENERATED SPELL FOR [Fire Roc] --


function spell0_5429(pUnit, Event) --@Flamespit,n/a--
pUnit:FullCastSpellOnTarget(11021,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5429', 3000, 1)
end

function Sorts_5429(pUnit, Event)
local choix_sorts_5429 = math.random(0, 0)
if choix_sorts_5429 == 0 then
pUnit:RegisterEvent('spell0_5429', 1, 1)
end
end

function mob5429_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5429', math.random(1500, 3000), 1)
end

function mob5429_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5429_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5429_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5429, 1, 'mob5429_Action')
RegisterUnitEvent(5429, 2, 'mob5429_Leave')
RegisterUnitEvent(5429, 3, 'mob5429_Kill')
RegisterUnitEvent(5429, 4, 'mob5429_Die')
